package com.gome.ocean.dao.model.websql;

import java.util.List;

/**
 * @author zhangguoqing 2016年12月7日 下午5:32:39
 * @since 5.0.0 websql编辑表 实体类
 */
public class DBEditTableBean {

    private String                      charset              = "utf8";
    private String                      collate              = "utf8_general_ci";
    private List<DBEditTableColumnBean> columns;
    private String                      comment;
    private Boolean                     compareAutoIncrement = true;
    private Boolean                     compareTableName     = true;
    private String                      createOption         = " ENGINE=InnoDB DEFAULT CHARSET=utf8";
    private Integer                     dataLength           = 0;
    private String                      dbName;
    private Integer                     dbVersionNum         = 0;
    private String                      engine               = "InnoDB";
    private Integer                     indexLength          = 0;
    private List<MysqlIndexJsonBean>    indexes;
    private Boolean                     mgrMyIsamEngine      = false;
    private Boolean                     myIsamEngin          = false;
    private List<MysqlRefJsonBean>      references;
    private String                      rowFormat            = "COMPACT";
    private Integer                     rows                 = 0;
    private String                      tableName;
    private Boolean                     partitionContent     = false;
    private String                      createScript;

    public String getCreateScript() {
        return createScript;
    }

    public void setCreateScript(String createScript) {
        this.createScript = createScript;
    }

    public Boolean getPartitionContent() {
        return partitionContent;
    }

    public void setPartitionContent(Boolean partitionContent) {
        this.partitionContent = partitionContent;
    }

    public String getCharset() {
        return charset;
    }

    public void setCharset(String charset) {
        this.charset = charset;
    }

    public String getCollate() {
        return collate;
    }

    public void setCollate(String collate) {
        this.collate = collate;
    }

    public List<DBEditTableColumnBean> getColumns() {
        return columns;
    }

    public void setColumns(List<DBEditTableColumnBean> columns) {
        this.columns = columns;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Boolean getCompareAutoIncrement() {
        return compareAutoIncrement;
    }

    public void setCompareAutoIncrement(Boolean compareAutoIncrement) {
        this.compareAutoIncrement = compareAutoIncrement;
    }

    public Boolean getCompareTableName() {
        return compareTableName;
    }

    public void setCompareTableName(Boolean compareTableName) {
        this.compareTableName = compareTableName;
    }

    public String getCreateOption() {
        return createOption;
    }

    public void setCreateOption(String createOption) {
        this.createOption = createOption;
    }

    public Integer getDataLength() {
        return dataLength;
    }

    public void setDataLength(Integer dataLength) {
        this.dataLength = dataLength;
    }

    public String getDbName() {
        return dbName;
    }

    public void setDbName(String dbName) {
        this.dbName = dbName;
    }

    public Integer getDbVersionNum() {
        return dbVersionNum;
    }

    public void setDbVersionNum(Integer dbVersionNum) {
        this.dbVersionNum = dbVersionNum;
    }

    public String getEngine() {
        return engine;
    }

    public void setEngine(String engine) {
        this.engine = engine;
    }

    public Integer getIndexLength() {
        return indexLength;
    }

    public void setIndexLength(Integer indexLength) {
        this.indexLength = indexLength;
    }

    public List<MysqlIndexJsonBean> getIndexes() {
        return indexes;
    }

    public void setIndexes(List<MysqlIndexJsonBean> indexes) {
        this.indexes = indexes;
    }

    public Boolean getMgrMyIsamEngine() {
        return mgrMyIsamEngine;
    }

    public void setMgrMyIsamEngine(Boolean mgrMyIsamEngine) {
        this.mgrMyIsamEngine = mgrMyIsamEngine;
    }

    public Boolean getMyIsamEngin() {
        return myIsamEngin;
    }

    public void setMyIsamEngin(Boolean myIsamEngin) {
        this.myIsamEngin = myIsamEngin;
    }

    public List<MysqlRefJsonBean> getReferences() {
        return references;
    }

    public void setReferences(List<MysqlRefJsonBean> references) {
        this.references = references;
    }

    public String getRowFormat() {
        return rowFormat;
    }

    public void setRowFormat(String rowFormat) {
        this.rowFormat = rowFormat;
    }

    public Integer getRows() {
        return rows;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

}
